<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<title>Encuestas</title>
	<script src="http://maps.google.com/maps/api/js?sensor=false"
		type="text/javascript"></script>
</h:head>
<h:body>
	<h:form>
		<div align="center">
			<h:panelGrid style="width: 70%;">
				<p:panel>
					<div align="center">
						<h:panelGrid columns="2" width="100%">

                    <h:panelGrid columns="2" width="100%">

                           <h:graphicImage value="/img/blue.jpg" height="80px" width="100%" />

                    </h:panelGrid>

                    <h:panelGrid columns="2" width="100%">

                           <h:graphicImage value="/img/logo.jpg" height="80px" />

                    </h:panelGrid>

             </h:panelGrid>


					</div>
				</p:panel>
			</h:panelGrid>
		</div>
		
                <div align="center">
                    <h:panelGrid style="width: 70%;">
                        <p:panel style="border-width: 0px">
                            <h:panelGrid columns="1" style=" width : 100%;">
                                <h:panelGroup style="display:block; text-align:center">
                                        <h:commandButton value="Crear encuesta"
                                                actionListener="#{consultarEncuestaBean.irCrearEncuesta}" />
                                        
                                        <h:commandButton value="Consultar encuestas"
                                                actionListener="#{consultarEncuestaBean.irConsultarEncuestas}" />
                                </h:panelGroup>
                            </h:panelGrid>
                        </p:panel>
                    </h:panelGrid>
                </div>
	</h:form>
</h:body>
</html>